﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data.OleDb;
using System.Data.SQLite;

namespace Story.Framework
{
    public class DbService
    {
        private static DbService m_Instance;
        public static DbService Create()
        {
            if (m_Instance == null)
                m_Instance = new DbService();
            return m_Instance;
        }
        public SQLiteConnection con
        {
            get { return new SQLiteConnection(ServerConfiguration.ConnectionString); }
        }

        public string ConnectionString
        {
            get { return ServerConfiguration.ConnectionString; }
        }
    }
}
